#ifndef HMD_CMD_H
#define HMD_CMD_H

#include "Nano100Series.h"
#include "Common.h"

void HmdGyroHandleCmd(uint8_t *cmd_buf, uint32_t cmd_size, uint8_t *rsp_buf, uint32_t rsp_size, uint32_t *rsp_ret_size);
void HmdGsensorHandleCmd(uint8_t *cmd_buf, uint32_t cmd_size, uint8_t *rsp_buf, uint32_t rsp_size, uint32_t *rsp_ret_size);
void HmdMagneticHandleCmd(uint8_t *cmd_buf, uint32_t cmd_size, uint8_t *rsp_buf, uint32_t rsp_size, uint32_t *rsp_ret_size);
void HmdGsensorRspPoll(uint8_t *rsp_buf, uint32_t *rsp_size);
void HmdGyroRspPoll(uint8_t *rsp_buf, uint32_t *rsp_size);
void HmdMagneticRspPoll(uint8_t *rsp_buf, uint32_t *rsp_size);
void HmdEventRspPoll(uint8_t *rsp_buf, uint32_t *rsp_size);
void HmdDispRspXfer(uint8_t *cmd_buf, uint32_t cmd_size, uint8_t *rsp_buf, uint32_t rsp_size, uint32_t *rsp_ret_size);

#endif
